#include <stdio.h>
#include <string.h>

int main()
{	 	   	   
    char str[100];
    int i, j;

    printf("Input a string:\n");
    gets(str);//1

    i = 0;
    j = strlen(str) - 1;//1
    while ((i < j) && (str[i] == str[j]))//1
    {	 	   	   
        i++;//1
        j--;//1
    }
    if (i < j)//1
    {	 	   	   
        printf("This string is not a plalindrome.\n");
    }
    else//1
    {	 	   	   
        printf("This string is a plalindrome.\n");
    }

    return 0;
}